import request from '@/utils/request';

export async function getGuideBookFileInfoByPage (params: any) {
    return request('/api/product/getGuideBookFileInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addGuideBookFileInfo (params: any) {
    return request('/api/product/addGuideBookFileInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateGuideBookFileInfo (params: any) {
    return request('/api/product/updateGuideBookFileInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delGuideBookFileInfo (params: any) {
    return request('/api/product/delGuideBookFileInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportGuideBookFileInfo(params: any) {
    return request('/api/product/exportGuideBookFileInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getGuideBookFileInfoByPage, addGuideBookFileInfo, updateGuideBookFileInfo, delGuideBookFileInfo, exportGuideBookFileInfo }
